import { requeat as axios } from "../utils/axios";

// 请求个人信息
export const getUserInfoApi = () => {
	return axios({
		url: "/userInfo",
		method: "get",
	});
};

// 请求猜你喜欢
export const getRecommendsApi = () => {
	return axios({
		url: "/youLike",
		method: "get",
	});
};

// 获取我的订单页面
export const getMyOrderApi = () => {
	// 函数是否需要参数，看请求是否需要参数
	return axios({
		url: "/myOrder",
		method: "get",
	});
};
